package com.produce.user.entity;

import com.produce.user.util.UuidGenId;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 类描述：角色菜单关联实体
 *
 * @author linzf
 */
@Table(name = "t_role_associate_tree")
public class RoleAssociateTree {

    /**
     * 角色菜单关联唯一标识
     */
    @Id
    @Column(name = "roleAssociatetreeId")
    @KeySql(genId = UuidGenId.class)
    private String roleAssociatetreeId;
    /**
     * 角色唯一标识
     */
    @Column(name = "roleId")
    private String roleId;
    /**
     * 菜单唯一标识
     */
    @Column(name = "treeId")
    private String treeId;

    public String getRoleAssociatetreeId() {
        return roleAssociatetreeId;
    }

    public void setRoleAssociatetreeId(String roleAssociatetreeId) {
        this.roleAssociatetreeId = roleAssociatetreeId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getTreeId() {
        return treeId;
    }

    public void setTreeId(String treeId) {
        this.treeId = treeId;
    }
}
